package com.ruoyi.medical.domain;


import com.ruoyi.common.domain.hospital.Disease;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Objects;
@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 * 药品管理对象 medicine
 * 
 * @author WGH
 * @date 2025-08-13
 */
public class Medicine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 药品ID */
    private Long id;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String name;

    /** 药品价格 */
    @Excel(name = "药品价格")
    private Double price;

    /** 药品图片 */
    @Excel(name = "药品图片")
    private String url;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String manufacturer;

    /** 药品描述 */
    @Excel(name = "药品描述")
    private String description;

    /** 药品成分 */
    @Excel(name = "药品成分")
    private String component;

    /** 药品性状 */
    @Excel(name = "药品性状")
    private String trait;

    /** 功能类别 */
    @Excel(name = "功能类别")
    private String functionCategory;

    /** 适应症 */
    @Excel(name = "适应症")
    private String indication;

    /** 用法用量 */
    @Excel(name = "用法用量")
    private String dousage;

    /** 禁忌 */
    @Excel(name = "禁忌")
    private String taboo;

    /** 有效期 */
    @Excel(name = "有效期")
    private String lifespan;

    /** 关联疾病 */
    @Excel(name = "关联疾病")
    private Long diseaseId;

    /** 删除状态 */
    private Integer del;

    /** 关联疾病表 */
    private Disease disease;
}
